const path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin")
module.exports = {
    entry: "./src/index.js",
    output: {
        filename: "bundle.js",
        path: path.resolve("dist")
    },
    mode: "development",
    devtool: false,
    plugins: [new HtmlWebpackPlugin({
        filename: "index.html"
    })]
}